package com.cie2.janji.pages.admin;

import java.util.List;

import org.apache.log4j.Logger;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.cie2.janji.base.CieAdminPage;
import com.cie2.janji.entities.EntityRoleInTime;
import com.cie2.janji.services.EntityRoleInTimeService;

public class EntityRoleInTimeList extends CieAdminPage{

	static Logger logger = Logger.getLogger(EntityRoleInTimeList.class.getName());

	@Property
	private EntityRoleInTime roleInTime;

	//services
	@Inject
	private EntityRoleInTimeService entityRoleInTimeService;

	public List getRoles() {
		return entityRoleInTimeService.getAll();
	}
}
